CC:=gcc
fork: 01_fork.c
	$(CC) $^ -o $@
	./$@
	rm $@

other: 02_other.c
	$(CC) $^ -o $@

execve: 02_execve.c other
	$(CC) $< -o $@
	./$@
	rm $@ $(word 2,$^)


waitpid: 03_waitpid.c 
	$(CC) $^ -o $@
	./$@
	rm $@


signal: 04_signal.c
	-$(CC) $^ -o $@
	-./$@
	-rm $@
